package jmine.tec.web.pages.app;

import jmine.tec.web.wicket.component.menu.cfg.AbstractMenuConfigFactoryBean;
import jmine.tec.web.wicket.component.menu.cfg.MenuConfig;
import jmine.tec.web.wicket.cronExpression.BlankPageHorarioFixoCompletoTest;
import jmine.tec.web.wicket.cronExpression.BlankPagePeriodicoCompletoTest;
import jmine.tec.web.wicket.pages.Paging;
import jmine.tec.web.wicket.pages.example.crud.CrudPageExample;
import jmine.tec.web.wicket.pages.example.execute.ExecutePageExample;
import jmine.tec.web.wicket.pages.example.executeajaxselection.ExecutePageAjaxExample;
import jmine.tec.web.wicket.pages.example.executeinput.ExecutePageInputExample;
import jmine.tec.web.wicket.pages.example.form.FormPageExample;
import jmine.tec.web.wicket.pages.example.list.ListPageExample;
import jmine.tec.web.wicket.pages.example.monitor.MonitorTemplateExample;
import jmine.tec.web.wicket.pages.example.monitor.table.TableMonitorExample;
import jmine.tec.web.wicket.pages.example.report.ReportPageExample;

public class JMineTecTestPagesMenuCreator extends AbstractMenuConfigFactoryBean {

    @Override
    protected MenuConfig createMenuConfig() {
        MenuConfig config = new MenuConfig();

        config.addPage(Paging.class, "Exemplo", "Paginacao");
        config.addPage(ListPageExample.class, "Exemplo", "WebTestEntity", "List Page");
        config.addPage(CrudPageExample.class, "Exemplo", "WebTestEntity", "CRUD Page");
        config.addPage(ExecutePageExample.class, "Exemplo", "WebTestEntity", "Execute Page");
        config.addPage(ExecutePageAjaxExample.class, "Exemplo", "WebTestEntity", "Execute Page (Ajax)");
        config.addPage(ExecutePageInputExample.class, "Exemplo", "WebTestEntity", "Execute Page (Input)");
        config.addPage(ReportPageExample.class, "Exemplo", "WebTestEntity", "Report Page");
        config.addPage(FormPageExample.class, "Exemplo", "WebTestEntity", "Form Page");
        config.addPage(MonitorTemplateExample.class, "Exemplo", "WebTestEntity", "Monitor");
        config.addPage(TableMonitorExample.class, "Exemplo", "WebTestEntity", "TableMonitor");
        config.addPage(BlankPageHorarioFixoCompletoTest.class, "Exemplo", "WicketTest", "CronExpression", "Horário Fixo Completo");
        config.addPage(BlankPagePeriodicoCompletoTest.class, "Exemplo", "WicketTest", "CronExpression", "Horário Periódico Completo");
        return config;
    }
}
